﻿using System;
using ShareBrowserAction;
using System.ComponentModel.Composition;
using MEF_Test.Bricks;
using MEF_Test.Contracts;

namespace FacebookShareProvider
{
    [Export(typeof(IShareActionContextProvider))]
    public class FacebookShareProvider : IShareActionContextProvider
    {

        #region IShareActionProvider Members

        public void Share(IBrowserNodeViewModel node)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IActionContextProvider Members

        public bool Supports(IBrowserNodeViewModel node)
        {
            // FIXME : Check if file is really supported !
            return true;
        }

        #endregion
    }
}
